package com.framework.modules.base.service;

import com.baomidou.mybatisplus.service.IService;
import com.framework.common.utils.PageUtils;
import com.framework.modules.base.entity.PostsAttrEntity;

import java.util.Map;

/**
 *  
 *
 * @author MIT
 * @email litmiss@gmail.com
 * @date 2020-10-26 08:59:36
 */
public interface PostsAttrService extends IService<PostsAttrEntity> {

    PageUtils queryPage(Map<String, Object> params);

    /**
     * 添加
     * @param postId
     * @param likeUid
     * @return
     */
    Integer addlikeUids(Integer postId,String likeUid);

    /**
     * 删除喜欢的uid
     * @param postId
     * @param likeUid
     * @return
     */

    Integer reducelikeUids(Integer postId,String likeUid);
}

